package com.ruoyi.business.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 供应商对象 wms_supplier
 * 
 * @author ruoyi
 * @date 2023-12-20
 */
public class WmsSupplier extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long id;

    /** 编码 */
    @Excel(name = "编码")
    private String supplierSn;

    /** 名称 */
    @Excel(name = "名称")
    private String supplierName;

    /** 联系人 */
    @Excel(name = "联系人")
    private String supplierContacts;

    /** 手机 */
    @Excel(name = "手机")
    private String supplierMobile;

    /** 固话 */
    @Excel(name = "固话")
    private String supplierTel;

    /** 邮箱 */
    @Excel(name = "邮箱")
    private String supplierEmail;

    /** 地址 */
    @Excel(name = "地址")
    private String supplierAddress;

    /** 状态:0启用 1禁用 */
    @Excel(name = "状态:0启用 1禁用")
    private Integer status;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setSupplierSn(String supplierSn) 
    {
        this.supplierSn = supplierSn;
    }

    public String getSupplierSn() 
    {
        return supplierSn;
    }
    public void setSupplierName(String supplierName) 
    {
        this.supplierName = supplierName;
    }

    public String getSupplierName() 
    {
        return supplierName;
    }
    public void setSupplierContacts(String supplierContacts) 
    {
        this.supplierContacts = supplierContacts;
    }

    public String getSupplierContacts() 
    {
        return supplierContacts;
    }
    public void setSupplierMobile(String supplierMobile) 
    {
        this.supplierMobile = supplierMobile;
    }

    public String getSupplierMobile() 
    {
        return supplierMobile;
    }
    public void setSupplierTel(String supplierTel) 
    {
        this.supplierTel = supplierTel;
    }

    public String getSupplierTel() 
    {
        return supplierTel;
    }
    public void setSupplierEmail(String supplierEmail) 
    {
        this.supplierEmail = supplierEmail;
    }

    public String getSupplierEmail() 
    {
        return supplierEmail;
    }
    public void setSupplierAddress(String supplierAddress) 
    {
        this.supplierAddress = supplierAddress;
    }

    public String getSupplierAddress() 
    {
        return supplierAddress;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("supplierSn", getSupplierSn())
            .append("supplierName", getSupplierName())
            .append("supplierContacts", getSupplierContacts())
            .append("supplierMobile", getSupplierMobile())
            .append("supplierTel", getSupplierTel())
            .append("supplierEmail", getSupplierEmail())
            .append("supplierAddress", getSupplierAddress())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .toString();
    }
}
